import { createRouter, createWebHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue'; 
import CompletedView from '../views/CompletedView.vue'; 
const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/completed',
    name: 'completed',
    component: CompletedView
  }
];
const router = createRouter({
  history: createWebHistory(),
  routes
});
export default router;